package com.rivulet.dawn.service.service.archive;

import com.rivulet.dawn.api.request.AllDeleteRequest;
import com.rivulet.dawn.api.request.archive.PersonRecordQueryRequest;
import com.rivulet.dawn.api.request.archive.PersonRecordSaveRequest;
import com.rivulet.dawn.api.request.archive.PersonRecordUpdateRequest;
import com.rivulet.dawn.api.response.archive.PersonRecordDetailResponse;
import com.rivulet.dawn.api.response.archive.PersonRecordSearchResponse;


/**
 * @author: 徐家橙
 * @date: 2022/8/16
 **/
public interface PersonRecordService {

    Integer create(PersonRecordSaveRequest request);

    void delete(AllDeleteRequest request);

    Integer update(PersonRecordUpdateRequest request);

    PersonRecordSearchResponse search(PersonRecordQueryRequest request);

    PersonRecordDetailResponse detail(Long id);
}
